|
|
|
|
|
|
|
Along similar lines, the noun account is also a strong candidate for a class. Again, the noun funds doesn't fit within your context and is therefore not a viable candidate. Now you have a more streamlined, definitive list of actors and candidates that resembles Table 2.1. |
|
|
|
|
| TABLE 2.1. STRONG CANDIDATE ACTORS AND CLASSES. | | Noun | Type | | Teller | Actor | | Bank Accounts | Class | | Account | Class |
|
|
|
|
|
|
You might also want to journalize the reasons for rejecting a candidate. This list becomes an artifact that might help future stakeholders on this project or other enterprise projects so that even the process of analyzing requirements and use cases can be reused throughout the company. |
|
|
|
|
|
|
|
|
Identifying Candidate Verbs and Verb Phrases in the Problem Statement |
|
|
|
|
|
|
|
|
Your candidate list of verbs and verb phrases includes the following: |
|
|
|
|
|
|
|
|
Maintaining bank accounts |
|
|
|
|
|
|
|
|
Again, you want to model only meaningful verbs that provide value to the problem domain. This list of verbs and verb phrases eventually provides the context for a use case model, which is roughly similar to the functional model of the Object Modeling Technique (OMT); a class model; and an object model. (The class model and sequence diagram are discussed on Day 3, Fundamental Object-Oriented Design, and Day 4, Fundamental Object-Oriented Programming.) Some verbs in your list of candidate verbs will be superfluous. Identifying such verbs might seem an elusive goal to beginners, but with only a few practice runs you should develop a good feel for the process. |
|
|
|
|
|